import request from '/@/utils/request';


export function noticeGet(params: object) {
	return request({
		url: '/api/center/notice',
		method: 'get',
		params: params,
	});
}
//添加
export function noticeAdd(params: object) {
	return request({
		url: '/api/center/notice',
		method: 'post',
		data: params,
	});
}//添加
export function noticeEdit(params: object) {
	return request({
		url: '/api/center/notice/updateNotice',
		method: 'post',
		data: params,
	});
}
//获取学校列表
export function getschoolList(params: object) {
	return request({
		url: '/api/center/school/getSchool',
		method: 'get',
		data: params,
	});
}
//删除列表
export function deleteNot(params: object) {
	return request({
		url: '/api/center/notice/deleteNotice',
		method: 'post',
		data: params,
	});
}



